# Maintainer: Felix Yan <felixonmars@archlinux.org>
# Contributor: gkmcd <g at dramati dot cc>
# Contributor: Wyatt J. Brown <sushidudeteam at gmail dot com>

pkgname=prettyping
pkgver=1.0.1
pkgrel=3
epoch=1
pkgdesc='A ping wrapper making the output prettier, more colorful, more compact, and easier to read.'
arch=('any')
url='https://github.com/denilsonsa/prettyping'
license=('MIT')
depends=('bash' 'awk' 'iputils')
source=("$pkgname-$pkgver.tar.gz::https://github.com/denilsonsa/prettyping/archive/v$pkgver.tar.gz")
sha512sums=('967626f11cd58fd9a0ce91a320caf6b6a296681ed809e04188f0cfe00d03c80a3620bf4d3ec86e855be363810763ff3ccd8bb0a959d03e62b31edba2cfae7f79')

package() {
	install -Dm644 "$srcdir/prettyping-$pkgver/LICENSE" "$pkgdir/usr/share/licenses/$pkgname/LICENSE"
	install -Dm755 "$srcdir/prettyping-$pkgver/prettyping" "$pkgdir/usr/bin/prettyping"
}
